<template>
  <div>
    <ebdmn-toolbar-layout>
      <template #left>
        <el-button @click="save">保存</el-button>
      </template>
      <template #right>
        <el-button @click="close">返回</el-button>
      </template>
    </ebdmn-toolbar-layout>
  </div>
</template>

<script>
import { EbdmnToolbarLayout } from '@components/EbdmnToolbar/index.js'
export default {
  name: 'EbdmnBasicModulesForm',
  components: {
    EbdmnToolbarLayout
  },
  props: {
    // 表单标题
    formTile: {
      type: String,
      default: ''
    },
    // 表单操作类型
    operationType: {
      type: String,
      default: 'add'
    },
    // 表单业务数据主键
    businessID: {
      type: String,
      default: ''
    },
    // 表单业务数据
    businessData: {
      type: Object,
      default: () => ({})
    }
  },
  emits: ['close'],
  data() {
    return {
      // 表单内容字段信息
      infoForm: {
        params: {
        }
      },
      // loading控制器
      loadingControl: {
      }
    }
  },
  created() {
  },
  methods: {
    close() {
      this.$emit('close', 'close')
    },
    save() {
      this.$emit('close', 'save')
    }
  }
}
</script>

<style scoped>

</style>